//
//  SSNDBAppDelegate.h
//  SSNDB
//
//  Created by nako on 9/16/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h> // Import the SQLite database framework

@interface SSNDBAppDelegate : NSObject <UIApplicationDelegate> {
    
    UIWindow *window;
    UINavigationController *navigationController;
	
	// Database variables
	NSString *databaseName;
	NSString *databasePath;
	
	// Array to store the person objects
	NSMutableArray *persons;
	NSMutableArray *contacts;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) UINavigationController *navigationController;
@property (nonatomic, retain) NSString *databasePath;
@property (nonatomic, retain) NSMutableArray *persons;
@property (nonatomic, retain) NSMutableArray *contacts;

-(void) checkAndCreateDatabase;
-(void) readSSNFromDatabase;

@end

